package com.jinmdz.fmis.dao.dao;

import com.jinmdz.fmis.dao.model.dictionary.DataDictionaryItem;
import org.apache.ibatis.annotations.Select;

import java.util.ArrayList;

/**
 * 数据字典Dao
 *
 * @author LiCongLu
 * @date 2020-01-14 13:55
 */
public interface DataDictionaryDao {

    /**
     * 获取所有未删除字典数据
     *
     * @param
     * @return
     * @author LiCongLu
     * @date 2020-01-14 13:56
     */
    @Select(" select id,deleted,dict_code,data_code,data_text,data_text_abbr,data_value,data_describe,as_default,disable_state,sort,remark,version " +
            " from data_dictionary order by sort ")
    ArrayList<DataDictionaryItem> listAllDataDictionaryItem();
}
